package com.itheima.HomeWork;

public class zuoye1 {
    public static void main(String[] args) {
        Student student = new Student();
        try {
            student.setAge(14);
        }catch (RuntimeException e){
            e.printStackTrace();
            System.out.println("年龄错误");
        }
        System.out.println("程序继续执行");
    }
}
